	.section	__TEXT,__text,regular,pure_instructions
	.macosx_version_min 10, 12
	.globl	_bubble_p
	.p2align	4, 0x90
_bubble_p:                              ## @bubble_p
	.cfi_startproc
## BB#0:
	pushq	%rbp
Ltmp0:
	.cfi_def_cfa_offset 16
Ltmp1:
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
Ltmp2:
	.cfi_def_cfa_register %rbp
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rsi
	movq	-16(%rbp), %rdi
	shlq	$3, %rdi
	addq	%rdi, %rsi
	addq	$-8, %rsi
	movq	%rsi, -32(%rbp)
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	-32(%rbp), %rax
	cmpq	-8(%rbp), %rax
	jbe	LBB0_10
## BB#2:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-8(%rbp), %rax
	movq	%rax, -24(%rbp)
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-24(%rbp), %rax
	cmpq	-32(%rbp), %rax
	jae	LBB0_8
## BB#4:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	movq	-24(%rbp), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## BB#5:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-24(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movq	-24(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	-40(%rbp), %rax
	movq	-24(%rbp), %rcx
	movq	%rax, (%rcx)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	jmp	LBB0_7
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	-24(%rbp), %rax
	addq	$8, %rax
	movq	%rax, -24(%rbp)
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	jmp	LBB0_9
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-32(%rbp), %rax
	addq	$-8, %rax
	movq	%rax, -32(%rbp)
	jmp	LBB0_1
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc

	.globl	_main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## BB#0:
	pushq	%rbp
Ltmp3:
	.cfi_def_cfa_offset 16
Ltmp4:
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
Ltmp5:
	.cfi_def_cfa_register %rbp
	subq	$144, %rsp
	leaq	L_.str(%rip), %rdi
	leaq	l_main.data(%rip), %rax
	movl	$80, %ecx
	movl	%ecx, %edx
	leaq	-96(%rbp), %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %r8
	movq	(%r8), %r8
	movq	%r8, -8(%rbp)
	movl	$0, -100(%rbp)
	movq	%rdi, -120(%rbp)        ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	movq	-120(%rbp), %rdi        ## 8-byte Reload
	movb	$0, %al
	callq	_printf
	movq	$0, -112(%rbp)
	movl	%eax, -124(%rbp)        ## 4-byte Spill
LBB1_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$10, -112(%rbp)
	jge	LBB1_4
## BB#2:                                ##   in Loop: Header=BB1_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	-112(%rbp), %rax
	movq	-96(%rbp,%rax,8), %rsi
	movb	$0, %al
	callq	_printf
	movl	%eax, -128(%rbp)        ## 4-byte Spill
## BB#3:                                ##   in Loop: Header=BB1_1 Depth=1
	movq	-112(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -112(%rbp)
	jmp	LBB1_1
LBB1_4:
	movl	$10, %eax
	movl	%eax, %esi
	leaq	-96(%rbp), %rdi
	callq	_bubble_p
	leaq	L_.str.2(%rip), %rdi
	movb	$0, %al
	callq	_printf
	movq	$0, -112(%rbp)
	movl	%eax, -132(%rbp)        ## 4-byte Spill
LBB1_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$10, -112(%rbp)
	jge	LBB1_8
## BB#6:                                ##   in Loop: Header=BB1_5 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	-112(%rbp), %rax
	movq	-96(%rbp,%rax,8), %rsi
	movb	$0, %al
	callq	_printf
	movl	%eax, -136(%rbp)        ## 4-byte Spill
## BB#7:                                ##   in Loop: Header=BB1_5 Depth=1
	movq	-112(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -112(%rbp)
	jmp	LBB1_5
LBB1_8:
	movl	-100(%rbp), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-8(%rbp), %rdx
	cmpq	%rdx, %rcx
	movl	%eax, -140(%rbp)        ## 4-byte Spill
	jne	LBB1_10
## BB#9:
	movl	-140(%rbp), %eax        ## 4-byte Reload
	addq	$144, %rsp
	popq	%rbp
	retq
LBB1_10:
	callq	___stack_chk_fail
	.cfi_endproc

	.section	__TEXT,__const
	.p2align	4               ## @main.data
l_main.data:
	.quad	1                       ## 0x1
	.quad	0                       ## 0x0
	.quad	3                       ## 0x3
	.quad	5                       ## 0x5
	.quad	2                       ## 0x2
	.quad	6                       ## 0x6
	.quad	8                       ## 0x8
	.quad	9                       ## 0x9
	.quad	7                       ## 0x7
	.quad	4                       ## 0x4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\345\276\205\346\216\222\345\272\217\345\272\217\345\210\227:"

L_.str.1:                               ## @.str.1
	.asciz	"%ld "

L_.str.2:                               ## @.str.2
	.asciz	"\n\346\216\222\345\272\217\345\220\216\345\272\217\345\210\227:"


.subsections_via_symbols
